using System.Windows;
using Tryit.Models;
using Tryit.ViewModels;

namespace Tryit.Views
{
    public partial class TemplateManagementDialog : Window
    {
        private TemplateManagementViewModel _viewModel;

        public TemplateManagementDialog()
        {
            InitializeComponent();
            _viewModel = new TemplateManagementViewModel();
            DataContext = _viewModel;
            _viewModel.SetWindow(this);
        }

        public CompositionTemplate SelectedTemplate => _viewModel?.SelectedTemplate;
    }
} 